package com.joint.cloud.common.exception.msg;

public class InvalidParameterValueExceptionErrorMsg extends BaseAIOpsExceptionErrorMsg {

    private String invalidParamKey;

    public InvalidParameterValueExceptionErrorMsg(String invalidParamKey) {
        this.invalidParamKey = invalidParamKey;
    }

    @Override
    public String generateErrorMsg() {
        return "Invalid Parameter: "+invalidParamKey;
    }

    @Override
    public String generateErrorMsgLocal() {
        return "参数非法： "+invalidParamKey;
    }
}
